package com.by.component.contract.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.by.component.contract.ContractInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.by.component.contract.dto.ContractInfo4DeliverSDTO;
import com.by.component.contract.dto.ContractInfo4PageSDTO;
import org.apache.ibatis.annotations.Param;

/**
 * 合同信息(ContractInfo)表数据库访问层
 *
 * @author hanrongjun
 * @since 2024-03-18 15:42:58
 */
public interface ContractInfoMapper extends BaseMapper<ContractInfo> {

    Page<ContractInfo4PageSDTO> queryPage(@Param("page") Page<ContractInfo4PageSDTO> page, @Param("condition") ContractInfo4PageSDTO condition);

    ContractInfo4DeliverSDTO queryContractInfo4Deliver(@Param("contractSignRecordId") Long contractSignRecordId);
}
